#ifndef __BSP_AM1008_H__
#define __BSP_AM1008_H__
#include <stm32f1xx.h>


uint8_t amGetPM25AndVoc(uint32_t * pm2d5, uint32_t * pm1d0, uint32_t * pm10, uint32_t * voc);
uint8_t amRest();
/***
 ***设置传感器正常工作状态
 ***En:0-休眠;1-正常工作
 ****/
uint8_t amWeekUpEn(uint8_t En);

void am_example(void);

#endif // !__BSP_AM1008_H__
